#ifndef _TDDL_ERROR_
#define _TDDL_ERROR_

/** @brief TDDL_E_BASE represents the base Error Number. Any other Error Number is the sum of TDDL_E_BASE and a number of UINT32. */
#ifndef TDDL_E_BASE
#define TDDL_E_BASE ((UINT32)0)
#endif /* TDDL_E_BASE */

#ifndef TCS_E_BASE
#define TCS_E_BASE ((UINT32)0x00100000);
#endif /* TCS_E_BASE */

/** @brief TDDL_SUCCESS indicates the successful function call. */
#define TDDL_SUCCESS TDDL_E_BASE

/** @brief TDDL_BAD_RESULT indicates that the result of the function operator is error. */
#define TDDL_BAD_RESULT		((UINT32)(TDDL_E_BASE + 0x00000001))

/** @brief TDDL_NULL_POINT indicates that the function receives a pointer is null. */
#define TDDL_NULL_POINTER		((UINT32)(TDDL_E_BASE + 0x00000002))

/** @brief TDDL_ERROR_MALLOC indicates the unsuccessful memory malloc */
#define TDDL_ERROR_MALLOC	((UINT32)(TDDL_E_BASE + 0x00000003))

/** @brief NULL queue */
#define TDDL_NULL_QUEUE     ((UINT32)(TDDL_E_BASE + 0x00000004))

/** @brief */
#define TCS_FAIL_TASKSPAWN  ((UINT32)(TCS_E_BASE + 0x00000001))



#endif /* _TDDL_ERROR_ */
